package com.three.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.lang.annotation.Target;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName tb_order
 */
@TableName("tb_order")
@Data
public class Order implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer orderid;

    private Integer storeId;

    private Integer productId;

    private Integer addressId;

    private Date orderCreateTime;

    private Date orderDetermineDate;

    private Date orderPayTime;

    private String payType;

    private String storeName;

    private String productName;

    private Integer tcount;

    private Integer productCount;

    private BigDecimal productPrice;

    private String userName;

    private Integer userId;

    private Date orderFinishTime;

    private Integer orderStatusCode;

    private Integer payStatusCode;

    private static final long serialVersionUID = 1L;
}